package com.aizhixin.lab.task.entity;

import com.aizhixin.lab.common.entity.AbstractStringEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity(name = "T_RELEASE_TASK")
@ToString
public class ReleaseTask extends AbstractStringEntity {
	@Column(name = "TASK_ID")
	@Getter
	@Setter
	private String taskId;
	@Column(name = "TASK_NAME")
	@Getter
	@Setter
	private String taskName;
	@Column(name = "COURSE_ID")
	@Getter
	@Setter
	private String courseId;
	@Column(name = "TEMPLATE_ID")
	@Getter
	@Setter
	private Long templateId;
	@Column(name = "QUESTIONS_NUM")
	@Getter
	@Setter
	private Integer questionsNum;
	@Column(name = "COMMIT_NUM")
	@Getter
	@Setter
	private Integer commitNum;
	@Column(name = "PENDING_NUM")
	@Getter
	@Setter
	private Integer pendingNum;
	@Column(name = "DOWN_TIME")
	@Getter
	@Setter
	private Date downTime;
	@Column(name = "COURSE_CHAPTER_ID")
	@Getter
	@Setter
	private Long courseChapterId;
	@Column(name = "COURSE_MINUTIA_ID")
	@Getter
	@Setter
	private Long courseMinutiaId;
	@Column(name = "SCORING_METHOD")
	@Getter
	@Setter
	private Integer scoringMethod;
	@Column(name = "CLASS_ID")
	@Getter
	@Setter
	private Long classId;

	@Column(name = "count_down")
	@Getter
	@Setter
	private Integer countDown;

	@Column(name = "is_count_down")
	@Getter
	@Setter
	private Integer isCountDown;


}
